package com.allscore.mongo.demo.entity;

import org.springframework.data.annotation.Id;

/**
 * 类描述信息
 *
 * @author: <a href="mailto:hu.shidang@allscore.com">胡世党</a><br>
 * @date: 2019/8/14 9:43<br>
 * @copyright: 2019 www.allscore.com Inc. All rights reserved.<br>
 * @changes 重要修改说明(格式 ： 时间 - 修改人 ： 修改内容)<br>
 */
public class UserInfo {

    @Id
    private Long id;

    private String username;

    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public UserInfo(Long id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }
}
